import {primaryColorFade} from "@/theme/config"

export const sysTitle="vue3后台管理系统模板"

export const storePrefix='elPlus_ts_adminSystem_template'

export const serverUrl='http://localhost:5000'

export const tokenKey="token"

export const fileNameSplitSymbol="@@"

enum authRouteModes{
  local='local',               // 本地路由方案
  remote='remote'              // 远程路由方案
}

export const authRouteMode:authRouteModes=authRouteModes.remote

// 操作类型映射字接口权限值字典的value值。如果字典值value更改，这份配置也应该更改
export const actionKeys={
  add:'add',            // 新增操作
  delete:'delete',       // 删除操作 
  query:'query',         // 查询操作
  update:'update',       // 更新操作
  import:'Import',       // 导入操作，因为特殊含义，所以大写
  export:'export',        // 导出操作
  upload:'upload',      // 上传操作
  download:'download',   // 下载操作
  ban:'ban',            // 禁用操作
  giveAuth:'giveAuth'   // 授权操作
} 

// BasicLayout配置
export const layoutConfig={
  /** 布局间隙 */
  gap:"12px",
  /**挂载时否展示欢迎语 */
  showWelcome:true,
  /** 菜单展开时的宽度*/
  initMenuWidth: 200, 
  /** 菜单折叠时的宽度*/ 
  menuWidth_collapsed :80,
  /** 屏幕宽度到多少时自动折叠菜单*/
  menuCollapsedScreenWidthPoint :900,
   /** 菜单主题色*/
   menuTheme:'#ffffff',
   /** 菜单文本颜色*/
  menuTextColor:'#000000',
  /** 顶部栏高度*/
  topBarHeight :'60px',
 /**标签导航栏高度*/
  navTagContainerHeigth:'38px',
  /** 底部栏栏高度*/
  bottomBarHeight :'0px',
  /** 菜单折叠动画时间*/
  transitionTime :'0.2s',
  /** 顶部栏和底部栏背景色*/
  barBgColor:primaryColorFade(0.7),
}


export const md5_key='PRIVATE_KEY'

export const rsa_privateKey="MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAOb9ZGDRVKObDjXhGMlymHjn1sXQkwW2Tk/Xx4FnOx9douCOlQ6fgFcsBzMPLjFlMQjBC54MVN/aaviu37xsM3kYM2ORVBg3TrSkOfaIKKFqdt208CQKBWZ0doQe6f+X6kfm4lrRiJoY23dgjtZIGdq5PX/CAVZhabF2BVK//pHBAgMBAAECgYAN0CPDUrFK9wpCk9tUY3a6ADPDgvxPwqJ+qRh2m8TP+SXZY7jQCB8KIJut5J+3d3gpZzXnbJBboAK/vnOqRBZ0pllHfm5gm6aYsg3phlAGLo9RxyP4J8w0SEOzlwhCNlR/51lvBpOVSTZf0iL8HFU7J1rbjHZY4VFC0tmzumQSCwJBAPdPFqXdUcSrYvU1HhGHpWyHT6P+eq9laf5aYOqwO2GfV1hVOQdhwJU8HVvO6/K0aJgKT/FJD0a1ky9u/Oaz2EcCQQDvG30kMK/tvefaUyRvty9JiAt45rI4ZXGHb2iiilazBRKBhVuIhQ/M6FF/fznl2fA8mzVYxKg7P3MIVYbKu9G3AkEAwM2q1XK+7bnD83EO2RHMeNjg0PRzh0xkHwUs66qrEMed2+LNDCE8d9we81VVg6j8phPcETspKrIiZmd7yQxKvwJBAL6uhVXfHe3SjJunwl71D1jsjXmVQHuJKsh/KEq3V/zcBq4T07NDqh4XBydOJrYO3271t81ax264Ytw6mIwEzHECQBa8RaavqgVS+qvtybWgnVauufaJRJvkyq4B7OxR/81u3kk3+vRkN6Nax4Ti6WWd/j8ddhklcIi8Q6jwXBv2GZU="

export const rsa_publicKey="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDm/WRg0VSjmw414RjJcph459bF0JMFtk5P18eBZzsfXaLgjpUOn4BXLAczDy4xZTEIwQueDFTf2mr4rt+8bDN5GDNjkVQYN060pDn2iCihanbdtPAkCgVmdHaEHun/l+pH5uJa0YiaGNt3YI7WSBnauT1/wgFWYWmxdgVSv/6RwQIDAQAB";

export const  aes_key = '3132333435363738393041424344454631323334353637383930414243444566';
export const  aes_iv = '939f8259ac92c5048053b9eb38046dd5'; 







